﻿@model IEnumerable<FPP.Models.PoolType>

@{
    ViewBag.Title = "Famous People Pool - Games";
}

<h2>Games</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table width="700">
    <tr align="left">
        <th>
            Name
        </th>
        <th>
            Picks
        </th>
        <th>
            Alts
        </th>
        <th>
            DateStart
        </th>
        <th>
            DateEnd
        </th>
    </tr>

@foreach (var item in Model) {
    <tr align="left">
        <td>
            @Html.ActionLink(item.Name, "Details", new { id=item.Id })
        </td>
        <td>
            @item.NumOfPeople
        </td>
        <td>
            @item.NumOfAlts
        </td>
        <td>
            @item.DateStart
        </td>
        <td>
            @item.DateEnd
        </td>
    </tr>
}

</table>

